import type { App } from 'vue';
import EasyTransfer from './src/easy-transfer.component';
import EasyTransferDesign from './src/designer/easy-transfer.design.component';
import { propsResolver } from '../easy-transfer';

export * from './src/easy-transfer.props';

export { EasyTransfer,EasyTransferDesign };

export default {
    install(app: App): void {
        app.component(EasyTransfer.name, EasyTransfer);
    },
    register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['easy-transfer'] = EasyTransfer;
        propsResolverMap['easy-transfer'] = propsResolver;
    },
    registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['easy-transfer'] = EasyTransferDesign;
        propsResolverMap['easy-transfer'] = propsResolver;
    }
};
